<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>基本资料修改 - <?php echo $cfg_webname; ?></title>
<link href="templets/style/css/reset.css" rel="stylesheet" type="text/css">
<link href="templets/style/css/member.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="templets/js/j.js"></script>
<script type="text/javascript" language="javascript" src='templets/js/checkSubmit.js'></script>
<script type="text/javascript">
var reMethod = "<?php echo ($cfg_soft_lang == 'utf-8') ? 'POST' : 'GET';?>",pwdmin = <?php echo $cfg_mb_pwdmin; ?>;
</script>
</head>
<body>
<!--head-->
<?php include(DEDEMEMBER. "/templets/head.htm"); ?>

<div class="main">

<?php include(DEDEMEMBER."/templets/menu.php"); ?> 


<div class="main_right">

<div class="zhsz_title">
<a href="edit_fullinfo.php" class="cur">基本资料</a><a href="edit_baseinfo.php">密码修改</a><a href="edit_face.php">头像设置</a><a href="certification.php">实名认证</a>
</div>
    <form name="form5" action="edit_fullinfo.php" method="post" onsubmit="return EdfullSubmit();">
      <input type="hidden" name="dopost" value="save" />
      <input type="hidden" value="<?php echo $membermodel->modid;?>" name="modid"/>
<ul class="jbzl_form">
<?php if($user['email']!=''){?>
<li><span class="col1">邮箱：</span><span class="col3">&nbsp;&nbsp;&nbsp;&nbsp;<input type="hidden" name="email" id="email" class="text" value="<?php echo $user['email']; ?>"  autocomplete="off" /><?php echo $user['email']; ?></span></li>
<?php }else{ ?>
<li><span class="col1">邮箱：</span><span class="col2"><input type="email" name="email" id="email" class="text" value="<?php echo $user['email']; ?>"  autocomplete="off" /></span><span class="col3"><span class="red">*</span>您还没有填写邮箱，请填写（注：填写后将不能修改！）</span></li>
<?php } ?>
<li><span class="col1">QQ：</span><span class="col2"><input type="text" name="qq" id="qq" class="text" value="<?php echo $m['qq']; ?>"  autocomplete="off" /></span><span class="col3"><span class="red">*</span>默认状态下QQ号码不会公开展示给其它用户</span></li>
<li><span class="col1">手机：</span><span class="col2"><input type="text" name="mobile" id="mobile" class="text" value="<?php echo $m['mobile']; ?>" autocomplete="off" /></span><span class="col3">默认状态下手机号码不会公开展示给其它用户</span></li>

<li>
<span class="col1">性别：</span>
<span class="col2">
<input type="radio" name="sex" id="sex" value="男" <?php if($row['sex']=='男') echo 'checked=checked';?> style="width:15px;" /><label for="nan">男</label>
<input type="radio" name="sex" id="sex" value="女" <?php if($row['sex']=='女') echo 'checked=checked';?> style="width:15px;" /><label for="nv">女</label>
<input type="radio" name="sex" id="sex" value="保密" <?php if($row['sex']=='保密') echo 'checked=checked';?> style="width:15px;" /><label for="bm">保密</label>
</span>
</li>
<input type="hidden" name="dede_fields" value="onlynet,int;qq,textchar;mobile,text;udescribe,multitext;sex,enum" /> 
<input type="hidden" name="dede_fieldshash" value="e6bdf15fd54dacfa93d70b8f422ff356" /> 
<li>
<span class="col1"></span>
<span class="col2"><input type="submit" class="submit_button" value="更新"><input type="reset" class="submit_button" value="重设"></span>
</li>
</ul>
</form>

</div>

</div>

<!--footer-->
<?php include(DEDEMEMBER. "/templets/footer.htm"); ?>

<script>
	//会员升级
	var typeid = document.querySelector('#typeid');
	var divs = document.querySelectorAll('.hysj_jiage li div');
	for(var i=0,len=divs.length;i<len;i++){
		divs[i].onclick = divCLickHandler;
	}
	function divCLickHandler(e){
		for(var i=0,len=divs.length;i<len;i++){
			divs[i].className = '';
		}
		this.className = 'cur';
		typeid.value = this.getAttribute('_typeid');
	}
</script>
<script>
	//左边导航
	var as = document.querySelectorAll('.left_menu a');
	var spans = document.querySelectorAll('.left_menu .icons');
	for(var i=0,len=as.length;i<len;i++){
		
		spans[i].clazz = spans[i].className;
		as[i].index = i;
		as[i].onmouseenter = mouseenterHandler;
		as[i].onmouseleave = mouseleaseHandler;
	}
	function mouseenterHandler(e){
		if(!/_h$/.test(spans[this.index].clazz)){
			spans[this.index].className = spans[this.index].clazz + '_h';
		}
	}
	function mouseleaseHandler(e){
		spans[this.index].className = spans[this.index].clazz;
	}
	
	//左右等高布局
	var main_left = document.querySelector('.main_left');
	var main_right = document.querySelector('.main_right');
	if(main_left.offsetHeight<main_right.offsetHeight){
		main_left.style.height = main_right.offsetHeight + 'px';
	}
</script>

</body>
</html>